Optimal. Leaf size=72 \[ -\frac {2 c^2 x}{a (2-n) \sqrt {a x^2+b x^n}}+\frac {2 c^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^n}}\right )}{a^{3/2} (2-n)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {12, 2055, 2033,
212} \begin {gather*} \frac {2 c^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^n}}\right )}{a^{3/2} (2-n)}-\frac {2 c^2 x}{a (2-n) \sqrt {a x^2+b x^n}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 212
Rule 2033
Rule 2055
Rubi steps
\begin {align*} \int \frac {c^2 x^2}{\left (a x^2+b x^n\right )^{3/2}} \, dx &=c^2 \int \frac {x^2}{\left (a x^2+b x^n\right )^{3/2}} \, dx\\ &=-\frac {2 c^2 x}{a (2-n) \sqrt {a x^2+b x^n}}+\frac {c^2 \int \frac {1}{\sqrt {a x^2+b x^n}} \, dx}{a}\\ &=-\frac {2 c^2 x}{a (2-n) \sqrt {a x^2+b x^n}}+\frac {\left (2 c^2\right ) \text {Subst}\left (\int \frac {1}{1-a x^2} \, dx,x,\frac {x}{\sqrt {a x^2+b x^n}}\right )}{a (2-n)}\\ &=-\frac {2 c^2 x}{a (2-n) \sqrt {a x^2+b x^n}}+\frac {2 c^2 \tanh ^{-1}\left (\frac {\sqrt {a} x}{\sqrt {a x^2+b x^n}}\right )}{a^{3/2} (2-n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 91, normalized size = 1.26 \begin {gather*} \frac {2 c^2 \left (\sqrt {a} x-\sqrt {b} x^{n/2} \sqrt {1+\frac {a x^{2-n}}{b}} \sinh ^{-1}\left (\frac {\sqrt {a} x^{1-\frac {n}{2}}}{\sqrt {b}}\right )\right )}{a^{3/2} (-2+n) \sqrt {a x^2+b x^n}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \frac {c^{2} x^{2}}{\left (a \,x^{2}+b \,x^{n}\right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} c^{2} \int \frac {x^{2}}{a x^{2} \sqrt {a x^{2} + b x^{n}} + b x^{n} \sqrt {a x^{2} + b x^{n}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {c^2\,x^2}{{\left (b\,x^n+a\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________